package io.gitee.kenewstar.dbmq;

/**
 * @author kenewstar
 */
public class DbMqException extends RuntimeException {

    public DbMqException() {
        super();
    }
    public DbMqException(String message) {
        super(message);
    }
    public DbMqException(String message, Throwable cause) {
        super(message, cause);
    }
    public DbMqException(Throwable cause) {
        super(cause);
    }
    protected DbMqException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }

    public static DbMqException build(String message) {
        return new DbMqException(message);
    }
}
